<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>医院预约挂号</title>
    <%
        /********** 保存网站的基本路径 ***********/
        String path = request.getContextPath();
        String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
                + path + "/";
        //将该路径地址缓存到 session中 ,例如：http://localhost:8090/tjnu_ssh_1128/
        session.setAttribute("mybasePath", basePath);
    %>
    <!-- CSS -->
    <jsp:include page="../include/headtag.jsp" />
    <!-- <link rel="stylesheet"
        href="http://fonts.googleapis.com/css?family=Roboto:400,100,300,500"> -->
    <link rel="stylesheet"
          href="${mybasePath}assets/font-awesome/css/font-awesome.min.css">
    <link rel="stylesheet" href="${mybasePath}assets/css/form-elements.css">
    <link rel="stylesheet" href="${mybasePath}assets/css/style.css">
    <link rel="stylesheet" href="${mybasePath}assets/css/layui.css" media="all">
</head>
<body>
<jsp:include page="../include/head1.jsp" />
<jsp:include page="../include/menu1.jsp" />
<div id="page-wrapper" style="margin-top: 50px;">
    <div id="page-inner">
        <div class="row">
            <div class="col-md-12 text-left">
                <h3>提交公告</h3>
            </div>
        </div>
        <!-- /. ROW  -->
        <hr />


        <div class="form-group">



            <form class="form-search form-horizontal" id="noticeForm"
                  action="/ssm_pro/addnotice" method="post">
                <div class="layui-form-item">
                    <label class="layui-form-label">公告标题</label>
                    <div class="layui-input-block">
                        <input type="text" id="NoticeName"name="NoticeName" lay-verify="title" autocomplete="off" placeholder="请输入标题" class="layui-input" >
                    </div>
                </div>
                <div class="layui-form-item layui-form-text">
                    <label class="layui-form-label">公告内容</label>
                    <div class="layui-input-block">
                        <textarea id="noticeDescription" name="noticeDescription"placeholder="请输入内容" class="layui-textarea"style="margin:auto; width: 560px; height: 250px;"></textarea>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <button type="submit" class="layui-btn" lay-submit="" lay-filter="demo1">立即提交</button>
                        <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                    </div>
                </div>
<%--                <input type="text" value="" name="NoticeName" id="NoticeName">--%>
<%--                <div class="col-lg-12">--%>
<%--						<textarea class="form-control" rows="3" id="noticeDescription" name="noticeDescription"--%>
<%--                                  style="margin:auto; width: 560px; height: 250px;"--%>
<%--                                  placeholder="公告内容" required></textarea>--%>
<%--                </div>--%>
<%--                <div class="col-lg-8 text-center" style="margin:auto;">--%>
<%--                    <input type="submit"  class="btn btn-primary btn-lg">提交</input>--%>
<%--                </div>--%>
            </form>

        </div>



    </div>


</div>


</body>

<script src="${mybasePath}assets/bootstrap/js/bootstrap.min.js"></script>
<script src="${mybasePath}assets/bootstrap/js/jquery.min.js"></script>
<script src="${mybasePath}assets/js/jquery.backstretch.min.js"></script>

</html>